<?php
declare(strict_types=1);
/**
 * MineAdmin is committed to providing solutions for quickly building web applications
 * Please view the LICENSE file that was distributed with this source code,
 * For the full copyright and license information.
 * Thank you very much for using MineAdmin.
 *
 * @Author X.Mo<root@imoi.cn>
 * @Link   https://gitee.com/xmo/MineAdmin
 */
namespace Plugin\Attractions\Broadcast\Request\Broadcast_devices;

use Hyperf\Validation\Request\FormRequest;

/**
 * 广播设备管理验证数据类
 */
class BroadcastDevicesRequest extends FormRequest
{

    public function authorize(): bool
    {
        return true;
    }


    /**
     * 新增数据验证规则
     * return array
     */
    public function rules(): array
    {
        return [

        ];
    }


    /**
     * 字段映射名称
     * return array
     */
    public function attributes(): array
    {
        return [
            'id' => '主键ID',
            'online_status' => '在线状态：1-离线，2-在线',
            'maintenance_status' => '维护状态：1-正常，2-需要维护，3-维护中，4-报废',

        ];
    }

public function messages(): array
{
    return [

    ];
}
}